package sibu.cn.mydemo.customview.magnifierdemo;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.widget.LinearLayout;

public class MagnifierActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		//setContentView(R.layout.activity_main);

		LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(
				LinearLayout.LayoutParams.MATCH_PARENT,
				LinearLayout.LayoutParams.MATCH_PARENT);
		ShaderView view = new ShaderView(getBaseContext());
		addContentView(view, params);
	}

	public static void  jumpMagnifierActivity(Context context){

		Intent intent = new Intent(context,MagnifierActivity.class);
		context.startActivity(intent);
	}
}
